<?php

namespace ORM\Dynasties2;

use Doctrine\ORM\Mapping as ORM;

/**
 * ORM\Dynasties2\Duchyregions
 */
class Duchyregions
{
    /**
     * @var integer $id
     */
    private $id;

    /**
     * @var smallint $whichDuchy
     */
    private $whichDuchy;

    /**
     * @var integer $whichRegion
     */
    private $whichRegion;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set whichDuchy
     *
     * @param smallint $whichDuchy
     * @return Duchyregions
     */
    public function setWhichDuchy($whichDuchy)
    {
        $this->whichDuchy = $whichDuchy;
        return $this;
    }

    /**
     * Get whichDuchy
     *
     * @return smallint 
     */
    public function getWhichDuchy()
    {
        return $this->whichDuchy;
    }

    /**
     * Set whichRegion
     *
     * @param integer $whichRegion
     * @return Duchyregions
     */
    public function setWhichRegion($whichRegion)
    {
        $this->whichRegion = $whichRegion;
        return $this;
    }

    /**
     * Get whichRegion
     *
     * @return integer 
     */
    public function getWhichRegion()
    {
        return $this->whichRegion;
    }
}